package com.sfpay.coreplatform.order.service.validate;

public class ValidateNULL {

	/**
	 * 检查字符字是否为空
	 * 
	 * @param content
	 * @return
	 */
	public static boolean checkStringNull(String content) {

		if (content == null || content.trim().length() == 0) {

			return true;
		}

		return false;
	}

	/**
	 * 检查Long 是否为空
	 * @param content
	 * @return
	 */
	public static boolean checkLongNull(Long content) {

		if (content == null || content == 0) {

			return true;
		}

		return false;
	}

}
